package com.ymatou.iapi.productstock.testcase;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.ymatou.iapi.productstock.service.ReturnStockListForPreOrderCall;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.TestCase;
import com.ymt.utils.tag.P1;

public class Ts_ReturnStockListForPreOrder {
	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("预订单，返还库存服务");
	}

	@Before
	public void caseUp() {
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(new ReturnStockListForPreOrderCall().getOpurl());
	}
	
	
	@After
	public void caseDown() {
		Logger.end();
	}
	
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_ReturnStockListForPreOrder_001() {
		Logger.start(true, "普通现货商品，不在活动中,返还库存 ");
		Logger.comment("普通现货商品，不在活动中,返还库存 - Test in Ts_ReduceStockListForPreOrder->Tc_ReduceStockListForPreOrder_001");
	}
	
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_ReturnStockListForPreOrder_002() {
		Logger.start(true, "普通现货商品，在活动中,返还库存 ");
		Logger.comment("普通现货商品，在活动中,返还库存 - Test in Ts_ReduceStockListForPreOrder->Tc_ReduceStockListForPreOrder_002");
		
	}
	
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_ReturnStockListForPreOrder_003() {
		Logger.start(true, "FBX商品，不在活动中,返还库存 ");
		Logger.comment("FBX商品，不在活动中,返还库存  - Test in Ts_ReduceStockListForPreOrder->Tc_ReduceStockListForPreOrder_003");
		
	}
	
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_ReturnStockListForPreOrder_004() {
		Logger.start(true, "FBX商品，在活动中,返还库存");
		Logger.comment("FBX商品，在活动中,返还库存 - Test in Ts_ReduceStockListForPreOrder->Tc_ReduceStockListForPreOrder_004");
		
	}
	
}
